import ThemeSettings from "./store/modules/settings";

interface ISettings {
  language: string;
  title: string; // Overrides the default title
  showSettings: boolean; // Controls settings panel display
  refreshTokenTime: number;
  showTagsView: boolean; // Controls tagsview display
  showSidebarLogo: boolean; // Controls siderbar logo display
  fixedHeader: boolean; // If true, will fix the header component
  errorLog: string[]; // The env to enable the errorlog component, default 'production' only
  sidebarTextTheme: boolean; // If true, will change active text color for sidebar based on theme
  devServerPort: number; // Port number for webpack-dev-server
  mockServerPort: number; // Port number for mock server
  themeSettings: ThemeSettings;
  tunnySetting: any;
  publicSetting: any;
  ldapConfig: any;
  contentTypes: any;
  featuresConfig: {};
}

// You can customize below settings :)
const settings: ISettings = {
  language: "zh",
  title: "移动云云桌面管理平台",
  showSettings: true,
  refreshTokenTime: 1000 * 60,
  showTagsView: true,
  fixedHeader: false,
  showSidebarLogo: false,
  errorLog: ["production"],
  sidebarTextTheme: true,
  devServerPort: 9527,
  mockServerPort: 9528,
  themeSettings: {
    bigScreen_title: "移动云云桌面管理平台",
    browser_title: "移动云云桌面管理平台",
    primary_color: "#337DFF"
  },
  tunnySetting: {},
  publicSetting: {},
  ldapConfig: {},
  contentTypes: {},
  featuresConfig: {}
};

export default settings;
